import Vue from 'vue'
import App from './App.vue'
import router from './router'
import YDUI from 'vue-ydui'
import 'vue-ydui/dist/ydui.rem.css'

Vue.use(YDUI)

const FastClick = require('fastclick')
document.addEventListener('DOMContentLoaded', function (event) {
  FastClick.attach(document.body)
}, false)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
